home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-1.iso / Files / Game / C / Cheese Toast 1.01.sit / CheeseToast ƒ / Source / Sprites.h < prev    next >
MacBinary  |  1993-05-07  |  9.0 KB  |  [TEXT/KAHL]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Sprites.h

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Fri May 7 21:12:15 1993, modified Fri May 7 21:12:15 1993, creator Think C, type ASCII, 8499 bytes "Sprites.h" , at 0x21b3 402 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KAHL]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 09 53 70 72 69 74 65 | 73 2e 68 00 00 00 00 00 |..Sprite|s.h.....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 01 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 21 33 00 | 00 01 92 a8 10 b9 6f a8 |.....!3.|......o.|
|00000060| 10 b9 6f 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..o.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 57 59 00 00 |........|....WY..|
|00000080| 2f 2f 20 53 70 72 69 74 | 65 73 2e 68 0d 23 69 6e |// Sprit|es.h.#in|
|00000090| 63 6c 75 64 65 20 3c 73 | 74 64 61 72 67 2e 68 3e |clude <s|tdarg.h>|
|000000a0| 0d 23 69 6e 63 6c 75 64 | 65 20 22 51 44 4f 66 66 |.#includ|e "QDOff|
|000000b0| 73 63 72 65 65 6e 2e 68 | 22 0d 0d 0d 2f 2a 0d 20 |screen.h|".../*. |
|000000c0| 2a 20 43 6f 6e 73 74 61 | 6e 74 73 0d 20 2a 2f 0d |* Consta|nts. */.|
|000000d0| 0d 23 64 65 66 69 6e 65 | 20 44 45 42 55 47 47 49 |.#define| DEBUGGI|
|000000e0| 4e 47 09 09 31 09 09 2f | 2f 20 45 6e 61 62 6c 65 |NG..1../|/ Enable|
|000000f0| 20 64 65 62 75 67 67 69 | 6e 67 20 6b 65 79 20 61 | debuggi|ng key a|
|00000100| 6e 64 20 64 65 62 75 67 | 67 69 6e 67 20 73 70 72 |nd debug|ging spr|
|00000110| 69 74 65 73 0d 23 64 65 | 66 69 6e 65 20 4d 61 78 |ites.#de|fine Max|
|00000120| 53 70 72 69 74 65 73 09 | 09 32 30 30 09 09 2f 2f |Sprites.|.200..//|
|00000130| 20 4d 61 78 69 6d 75 6d | 20 73 69 6d 75 6c 74 61 | Maximum| simulta|
|00000140| 6e 65 6f 75 73 20 73 70 | 72 69 74 65 73 0d 23 64 |neous sp|rites.#d|
|00000150| 65 66 69 6e 65 20 4d 61 | 78 53 63 6f 72 65 52 65 |efine Ma|xScoreRe|
|00000160| 63 6f 72 64 73 09 31 30 | 09 09 2f 2f 20 4e 75 6d |cords.10|..// Num|
|00000170| 62 65 72 20 6f 66 20 74 | 6f 70 20 73 63 6f 72 65 |ber of t|op score|
|00000180| 73 20 73 68 6f 77 6e 0d | 23 64 65 66 69 6e 65 20 |s shown.|#define |
|00000190| 43 6f 6c 6f 72 4d 61 70 | 53 69 7a 65 09 31 30 32 |ColorMap|Size.102|
|000001a0| 34 4c 09 2f 2f 20 53 69 | 7a 65 20 6f 66 20 33 32 |4L.// Si|ze of 32|
|000001b0| 78 33 32 20 38 2d 62 69 | 74 20 73 70 72 69 74 65 |x32 8-bi|t sprite|
|000001c0| 20 6d 61 70 0d 23 64 65 | 66 69 6e 65 20 4d 61 73 | map.#de|fine Mas|
|000001d0| 6b 4d 61 70 53 69 7a 65 | 09 09 31 32 38 4c 09 2f |kMapSize|..128L./|
|000001e0| 2f 20 53 69 7a 65 20 6f | 66 20 33 32 78 33 32 20 |/ Size o|f 32x32 |
|000001f0| 31 2d 62 69 74 20 4d 61 | 73 6b 4d 61 70 0d 23 64 |1-bit Ma|skMap.#d|
|00000200| 65 66 69 6e 65 20 42 75 | 6c 6c 65 74 4d 61 70 53 |efine Bu|lletMapS|
|00000210| 69 7a 65 09 34 4c 09 09 | 2f 2f 20 53 69 7a 65 20 |ize.4L..|// Size |
|00000220| 6f 66 20 32 78 32 20 38 | 2d 62 69 74 20 62 75 6c |of 2x2 8|-bit bul|
|00000230| 6c 65 74 20 6d 61 70 0d | 23 64 65 66 69 6e 65 20 |let map.|#define |
|00000240| 49 63 6f 6e 57 69 64 74 | 68 09 09 33 32 09 09 2f |IconWidt|h..32../|
|00000250| 2f 20 57 69 64 74 68 20 | 6f 66 20 49 63 6f 6e 0d |/ Width |of Icon.|
|00000260| 23 64 65 66 69 6e 65 20 | 49 63 6f 6e 48 65 69 67 |#define |IconHeig|
|00000270| 68 74 09 09 33 32 09 09 | 2f 2f 20 48 65 69 67 68 |ht..32..|// Heigh|
|00000280| 74 20 6f 66 20 49 63 6f | 6e 0d 23 64 65 66 69 6e |t of Ico|n.#defin|
|00000290| 65 20 42 75 6c 6c 65 74 | 57 69 64 74 68 09 09 32 |e Bullet|Width..2|
|000002a0| 09 09 2f 2f 20 57 69 64 | 74 68 2f 48 65 69 67 68 |..// Wid|th/Heigh|
|000002b0| 74 20 6f 66 20 42 75 6c | 6c 65 74 0d 23 64 65 66 |t of Bul|let.#def|
|000002c0| 69 6e 65 20 53 74 61 72 | 74 75 70 50 49 43 54 09 |ine Star|tupPICT.|
|000002d0| 09 31 32 38 09 09 2f 2f | 20 53 74 61 72 75 70 20 |.128..//| Starup |
|000002e0| 50 69 63 74 75 72 65 20 | 52 65 73 6f 75 72 63 65 |Picture |Resource|
|000002f0| 20 49 44 0d 23 64 65 66 | 69 6e 65 20 42 61 63 6b | ID.#def|ine Back|
|00000300| 67 72 6f 75 6e 64 50 49 | 43 54 09 31 32 39 09 09 |groundPI|CT.129..|
|00000310| 2f 2f 20 42 61 63 6b 67 | 72 6f 75 6e 64 20 50 69 |// Backg|round Pi|
|00000320| 63 74 75 72 65 20 52 65 | 73 6f 75 72 63 65 20 49 |cture Re|source I|
|00000330| 44 0d 23 64 65 66 69 6e | 65 20 53 6d 61 6c 6c 4c |D.#defin|e SmallL|
|00000340| 6f 67 6f 50 49 43 54 09 | 31 33 31 09 09 2f 2f 20 |ogoPICT.|131..// |
|00000350| 53 6d 61 6c 6c 20 4c 6f | 67 6f 20 50 69 63 74 75 |Small Lo|go Pictu|
|00000360| 72 65 20 49 44 20 28 41 | 74 74 72 61 63 74 20 4d |re ID (A|ttract M|
|00000370| 6f 64 65 29 0d 23 64 65 | 66 69 6e 65 20 4e 62 72 |ode).#de|fine Nbr|
|00000380| 41 73 74 65 72 6f 69 64 | 73 09 33 09 09 2f 2f 20 |Asteroid|s.3..// |
|00000390| 4e 75 6d 62 65 72 20 63 | 6f 6d 70 6f 75 6e 64 20 |Number c|ompound |
|000003a0| 61 73 74 65 72 6f 69 64 | 73 20 69 6e 20 74 61 62 |asteroid|s in tab|
|000003b0| 6c 65 0d 23 64 65 66 69 | 6e 65 20 4d 61 78 41 6e |le.#defi|ne MaxAn|
|000003c0| 67 6c 65 73 09 09 31 36 | 09 09 2f 2f 20 4e 75 6d |gles..16|..// Num|
|000003d0| 62 65 72 20 6f 66 20 76 | 65 63 74 6f 72 73 20 69 |ber of v|ectors i|
|000003e0| 6e 20 76 65 63 74 6f 72 | 20 74 61 62 6c 65 0d 23 |n vector| table.#|
|000003f0| 64 65 66 69 6e 65 20 4e | 62 72 59 75 6d 6d 69 65 |define N|brYummie|
|00000400| 73 09 09 33 0d 23 64 65 | 66 69 6e 65 20 41 73 74 |s..3.#de|fine Ast|
|00000410| 65 72 50 6f 69 6e 74 73 | 09 09 31 30 30 0d 23 64 |erPoints|..100.#d|
|00000420| 65 66 69 6e 65 20 53 61 | 75 63 65 72 50 6f 69 6e |efine Sa|ucerPoin|
|00000430| 74 73 09 35 30 30 0d 23 | 64 65 66 69 6e 65 20 42 |ts.500.#|define B|
|00000440| 61 72 62 65 6c 6c 50 6f | 69 6e 74 73 09 35 30 30 |arbellPo|ints.500|
|00000450| 0d 23 64 65 66 69 6e 65 | 20 4c 65 76 65 6c 42 6f |.#define| LevelBo|
|00000460| 6e 75 73 53 63 6f 72 65 | 09 31 30 30 30 0d 0d 2f |nusScore|.1000../|
|00000470| 2a 0d 20 2a 20 46 75 6e | 63 74 69 6f 6e 20 4d 61 |*. * Fun|ction Ma|
|00000480| 63 72 6f 73 0d 20 2a 2f | 0d 20 0d 23 64 65 66 69 |cros. */|. .#defi|
|00000490| 6e 65 20 41 6e 69 46 72 | 61 6d 65 49 6e 64 65 78 |ne AniFr|ameIndex|
|000004a0| 28 69 29 09 28 69 20 3c | 3c 20 31 30 29 09 2f 2f |(i).(i <|< 10).//|
|000004b0| 20 4d 75 6c 74 69 70 6c | 79 20 62 79 20 31 30 32 | Multipl|y by 102|
|000004c0| 34 20 28 43 6f 6c 6f 72 | 4d 61 70 53 69 7a 65 29 |4 (Color|MapSize)|
|000004d0| 0d 23 64 65 66 69 6e 65 | 20 41 6e 69 52 6f 77 49 |.#define| AniRowI|
|000004e0| 6e 64 65 78 28 69 29 09 | 09 28 69 20 3c 3c 20 35 |ndex(i).|.(i << 5|
|000004f0| 29 09 2f 2f 20 4d 75 6c | 74 69 70 6c 79 20 62 79 |).// Mul|tiply by|
|00000500| 20 33 32 20 28 72 6f 77 | 73 69 7a 65 29 0d 0d 2f | 32 (row|size)../|
|00000510| 2a 0d 20 2a 20 45 6e 75 | 6d 65 72 61 74 65 64 20 |*. * Enu|merated |
|00000520| 54 79 70 65 73 0d 20 2a | 2f 0d 0d 65 6e 75 6d 20 |Types. *|/..enum |
|00000530| 53 68 69 70 46 6c 61 67 | 73 09 20 7b 53 46 5f 46 |ShipFlag|s. {SF_F|
|00000540| 69 72 65 3d 30 78 30 31 | 2c 20 53 46 5f 4c 65 66 |ire=0x01|, SF_Lef|
|00000550| 74 3d 30 78 30 32 2c 20 | 53 46 5f 52 69 67 68 74 |t=0x02, |SF_Right|
|00000560| 3d 30 78 30 34 2c 0d 09 | 09 09 09 20 20 53 46 5f |=0x04,..|... SF_|
|00000570| 54 68 72 75 73 74 3d 30 | 78 30 38 2c 20 53 46 5f |Thrust=0|x08, SF_|
|00000580| 53 68 69 65 6c 64 3d 30 | 78 31 30 7d 3b 0d 0d 65 |Shield=0|x10};..e|
|00000590| 6e 75 6d 20 53 6f 75 6e | 64 73 09 09 20 7b 53 5f |num Soun|ds.. {S_|
|000005a0| 46 69 72 69 6e 67 2c 20 | 53 5f 45 78 70 6c 6f 73 |Firing, |S_Explos|
|000005b0| 69 6f 6e 2c 20 53 5f 42 | 61 64 47 75 79 44 65 62 |ion, S_B|adGuyDeb|
|000005c0| 75 74 2c 20 53 5f 53 68 | 69 70 44 65 62 75 74 2c |ut, S_Sh|ipDebut,|
|000005d0| 20 53 5f 53 68 69 70 45 | 78 70 6c 6f 64 65 73 2c | S_ShipE|xplodes,|
|000005e0| 0d 09 09 09 20 09 20 20 | 53 5f 45 6e 65 6d 79 46 |.... . |S_EnemyF|
|000005f0| 69 72 65 73 2c 20 53 5f | 54 68 72 75 73 74 2c 20 |ires, S_|Thrust, |
|00000600| 53 5f 44 75 64 42 75 6c | 6c 65 74 2c 20 0d 09 09 |S_DudBul|let, ...|
|00000610| 09 20 09 20 20 53 5f 4c | 65 76 65 6c 43 6f 6d 70 |. . S_L|evelComp|
|00000620| 6c 65 74 69 6f 6e 2c 20 | 53 5f 43 6f 6d 70 6f 75 |letion, |S_Compou|
|00000630| 6e 64 46 72 61 63 74 75 | 72 65 2c 20 53 5f 53 68 |ndFractu|re, S_Sh|
|00000640| 69 65 6c 64 2c 20 53 5f | 59 75 6d 6d 79 43 6f 6e |ield, S_|YummyCon|
|00000650| 73 75 6d 65 2c 0d 09 09 | 09 20 09 20 20 53 5f 48 |sume,...|. . S_H|
|00000660| 69 67 68 53 63 6f 72 65 | 31 2c 20 53 5f 4c 65 74 |ighScore|1, S_Let|
|00000670| 74 65 72 44 69 73 70 6c | 61 79 2c 20 53 5f 45 78 |terDispl|ay, S_Ex|
|00000680| 74 72 61 53 68 69 70 2c | 20 53 5f 4c 6f 73 65 72 |traShip,| S_Loser|
|00000690| 2c 20 53 5f 53 74 61 72 | 74 75 70 2c 0d 09 09 09 |, S_Star|tup,....|
|000006a0| 20 09 20 20 53 5f 48 69 | 67 68 53 63 6f 72 65 32 | . S_Hi|ghScore2|
|000006b0| 2c 0d 09 09 09 20 09 20 | 20 53 5f 4e 62 72 53 6f |,.... . | S_NbrSo|
|000006c0| 75 6e 64 73 7d 3b 0d 0d | 0d 65 6e 75 6d 20 47 61 |unds};..|.enum Ga|
|000006d0| 6d 65 53 74 61 74 65 73 | 09 7b 20 47 53 5f 41 74 |meStates|.{ GS_At|
|000006e0| 74 72 61 63 74 2c 20 47 | 53 5f 50 6c 61 79 2c 20 |tract, G|S_Play, |
|000006f0| 47 53 5f 47 61 6d 65 4f | 76 65 72 20 7d 3b 0d 0d |GS_GameO|ver };..|
|00000700| 65 6e 75 6d 20 53 70 72 | 69 74 65 54 79 70 65 73 |enum Spr|iteTypes|
|00000710| 20 7b 0d 2f 2f 20 56 69 | 73 75 61 6c 20 53 70 72 | {.// Vi|sual Spr|
|00000720| 69 74 65 73 0d 09 09 09 | 09 20 20 53 54 5f 57 68 |ites....|. ST_Wh|
|00000730| 65 65 6c 2c 20 53 54 5f | 41 73 74 65 72 2c 20 53 |eel, ST_|Aster, S|
|00000740| 54 5f 54 65 61 63 75 70 | 2c 20 53 54 5f 57 68 65 |T_Teacup|, ST_Whe|
|00000750| 65 6c 52 2c 20 0d 09 09 | 09 09 20 20 53 54 5f 57 |elR, ...|.. ST_W|
|00000760| 68 65 65 6c 47 2c 20 53 | 54 5f 57 68 65 65 6c 42 |heelG, S|T_WheelB|
|00000770| 2c 20 53 54 5f 41 73 74 | 65 72 31 2c 20 53 54 5f |, ST_Ast|er1, ST_|
|00000780| 41 73 74 65 72 32 2c 20 | 0d 09 09 09 09 20 20 53 |Aster2, |..... S|
|00000790| 54 5f 53 61 75 63 65 72 | 2c 20 53 54 5f 42 61 72 |T_Saucer|, ST_Bar|
|000007a0| 62 65 6c 6c 2c 20 53 54 | 5f 54 65 61 70 6f 74 2c |bell, ST|_Teapot,|
|000007b0| 20 53 54 5f 54 65 61 70 | 6f 74 54 2c 20 0d 09 09 | ST_Teap|otT, ...|
|000007c0| 09 09 20 20 53 54 5f 54 | 65 61 70 6f 74 53 2c 20 |.. ST_T|eapotS, |
|000007d0| 53 54 5f 54 65 61 70 6f | 74 4e 65 77 2c 20 53 54 |ST_Teapo|tNew, ST|
|000007e0| 5f 59 75 6d 6d 69 65 73 | 2c 20 53 54 5f 42 75 6c |_Yummies|, ST_Bul|
|000007f0| 6c 65 74 2c 0d 09 09 09 | 09 20 20 53 54 5f 50 68 |let,....|. ST_Ph|
|00000800| 6f 74 6f 6e 2c 20 53 54 | 5f 53 70 61 72 6b 2c 0d |oton, ST|_Spark,.|
|00000810| 2f 2f 20 4c 6f 67 69 63 | 20 53 70 72 69 74 65 73 |// Logic| Sprites|
|00000820| 0d 09 09 09 09 20 20 53 | 54 5f 53 74 61 74 75 73 |..... S|T_Status|
|00000830| 44 69 73 70 6c 61 79 2c | 0d 23 69 66 20 44 45 42 |Display,|.#if DEB|
|00000840| 55 47 47 49 4e 47 0d 09 | 09 09 09 20 20 53 54 5f |UGGING..|... ST_|
|00000850| 53 70 72 69 74 65 43 6e | 74 2c 20 53 54 5f 4d 61 |SpriteCn|t, ST_Ma|
|00000860| 78 53 70 72 69 74 65 2c | 0d 23 65 6e 64 69 66 0d |xSprite,|.#endif.|
|00000870| 09 09 09 09 20 20 4e 62 | 72 53 70 72 69 74 65 73 |.... Nb|rSprites|
|00000880| 7d 3b 0d 0d 65 6e 75 6d | 20 42 75 6c 6c 65 74 46 |};..enum| BulletF|
|00000890| 6c 61 67 73 20 7b 42 46 | 5f 47 6f 6f 64 42 75 6c |lags {BF|_GoodBul|
|000008a0| 6c 65 74 3d 30 78 34 33 | 46 46 2c 20 42 46 5f 42 |let=0x43|FF, BF_B|
|000008b0| 61 64 42 75 6c 6c 65 74 | 3d 30 78 31 43 30 30 7d |adBullet|=0x1C00}|
|000008c0| 3b 0d 0d 65 6e 75 6d 20 | 47 61 6d 65 4d 6f 64 65 |;..enum |GameMode|
|000008d0| 73 09 20 7b 47 4d 5f 58 | 32 3d 31 2c 20 47 4d 5f |s. {GM_X|2=1, GM_|
|000008e0| 58 33 3d 32 2c 20 47 4d | 5f 58 35 3d 34 7d 3b 0d |X3=2, GM|_X5=4};.|
|000008f0| 0d 2f 2a 0d 20 2a 20 44 | 61 74 61 20 53 74 72 75 |./*. * D|ata Stru|
|00000900| 63 74 75 72 65 73 0d 20 | 2a 2f 0d 0d 74 79 70 65 |ctures. |*/..type|
|00000910| 64 65 66 20 73 74 72 75 | 63 74 20 7b 0d 09 73 68 |def stru|ct {..sh|
|00000920| 6f 72 74 09 66 69 72 65 | 4b 65 79 3b 0d 09 73 68 |ort.fire|Key;..sh|
|00000930| 6f 72 74 09 74 68 72 75 | 73 74 4b 65 79 3b 0d 09 |ort.thru|stKey;..|
|00000940| 73 68 6f 72 74 09 6c 65 | 66 74 4b 65 79 3b 0d 09 |short.le|ftKey;..|
|00000950| 73 68 6f 72 74 09 72 69 | 67 68 74 4b 65 79 3b 0d |short.ri|ghtKey;.|
|00000960| 09 73 68 6f 72 74 09 73 | 68 69 65 6c 64 4b 65 79 |.short.s|hieldKey|
|00000970| 3b 0d 09 42 6f 6f 6c 65 | 61 6e 09 73 6f 75 6e 64 |;..Boole|an.sound|
|00000980| 4c 65 76 65 6c 3b 0d 09 | 53 74 72 33 31 09 75 73 |Level;..|Str31.us|
|00000990| 65 72 4e 61 6d 65 3b 0d | 09 63 68 61 72 09 72 65 |erName;.|.char.re|
|000009a0| 73 65 72 76 65 64 5b 33 | 30 5d 3b 0d 7d 20 50 72 |served[3|0];.} Pr|
|000009b0| 65 66 73 44 61 74 61 3b | 0d 0d 74 79 70 65 64 65 |efsData;|..typede|
|000009c0| 66 20 73 74 72 75 63 74 | 09 7b 0d 09 6c 6f 6e 67 |f struct|.{..long|
|000009d0| 09 6c 68 2c 6c 76 3b 0d | 7d 20 4c 6f 6e 67 50 6f |.lh,lv;.|} LongPo|
|000009e0| 69 6e 74 3b 0d 0d 74 79 | 70 65 64 65 66 20 73 74 |int;..ty|pedef st|
|000009f0| 72 75 63 74 20 7b 0d 09 | 50 6f 69 6e 74 09 09 70 |ruct {..|Point..p|
|00000a00| 6f 73 2c 6f 6c 64 50 6f | 73 3b 09 09 2f 2f 20 53 |os,oldPo|s;..// S|
|00000a10| 70 72 69 74 65 20 43 6f | 6f 72 64 73 0d 09 4c 6f |prite Co|ords..Lo|
|00000a20| 6e 67 50 6f 69 6e 74 09 | 76 65 63 74 6f 72 3b 09 |ngPoint.|vector;.|
|00000a30| 09 09 2f 2f 20 53 70 72 | 69 74 65 20 4d 6f 76 65 |..// Spr|ite Move|
|00000a40| 6d 65 6e 74 20 56 65 6c | 6f 63 69 74 79 0d 09 73 |ment Vel|ocity..s|
|00000a50| 68 6f 72 74 09 09 74 79 | 70 65 3b 09 09 09 2f 2f |hort..ty|pe;...//|
|00000a60| 20 53 70 72 69 74 65 20 | 54 79 70 65 20 2d 20 49 | Sprite |Type - I|
|00000a70| 6e 64 65 78 20 69 6e 74 | 6f 20 53 70 72 69 74 65 |ndex int|o Sprite|
|00000a80| 20 44 65 66 20 54 61 62 | 6c 65 0d 09 73 68 6f 72 | Def Tab|le..shor|
|00000a90| 74 09 09 70 61 72 61 6d | 31 3b 09 09 09 2f 2f 20 |t..param|1;...// |
|00000aa0| 56 61 72 69 65 73 20 66 | 6f 72 20 65 61 63 68 20 |Varies f|or each |
|00000ab0| 73 70 72 69 74 65 20 74 | 79 70 65 0d 09 73 68 6f |sprite t|ype..sho|
|00000ac0| 72 74 09 09 70 61 72 61 | 6d 32 3b 09 09 09 2f 2f |rt..para|m2;...//|
|00000ad0| 20 56 61 72 69 65 73 20 | 66 6f 72 20 65 61 63 68 | Varies |for each|
|00000ae0| 20 73 70 72 69 74 65 20 | 74 79 70 65 0d 09 73 68 | sprite |type..sh|
|00000af0| 6f 72 74 09 09 61 6e 69 | 53 74 61 74 65 3b 09 09 |ort..ani|State;..|
|00000b00| 2f 2f 20 41 6e 69 6d 61 | 74 69 6f 6e 20 46 72 61 |// Anima|tion Fra|
|00000b10| 6d 65 0d 09 73 68 6f 72 | 74 09 09 61 6e 69 53 70 |me..shor|t..aniSp|
|00000b20| 65 65 64 3b 09 09 2f 2f | 20 41 6e 69 6d 61 74 69 |eed;..//| Animati|
|00000b30| 6f 6e 20 46 72 61 6d 65 | 20 52 61 74 65 0d 09 73 |on Frame| Rate..s|
|00000b40| 68 6f 72 74 09 09 74 69 | 63 6b 43 74 72 3b 09 09 |hort..ti|ckCtr;..|
|00000b50| 2f 2f 20 54 69 6d 65 20 | 43 6f 75 6e 74 65 72 0d |// Time |Counter.|
|00000b60| 09 73 68 6f 72 74 09 09 | 6c 69 66 65 53 70 61 6e |.short..|lifeSpan|
|00000b70| 3b 09 09 2f 2f 20 4c 69 | 66 65 20 53 70 61 6e 20 |;..// Li|fe Span |
|00000b80| 6f 66 20 53 70 72 69 74 | 65 0d 09 73 68 6f 72 74 |of Sprit|e..short|
|00000b90| 09 09 61 6e 67 6c 65 3b | 09 09 09 2f 2f 20 49 6e |..angle;|...// In|
|00000ba0| 64 65 78 20 69 6e 74 6f | 20 56 65 63 74 6f 72 20 |dex into| Vector |
|00000bb0| 54 61 62 6c 65 0d 09 73 | 68 6f 72 74 09 09 77 69 |Table..s|hort..wi|
|00000bc0| 64 74 68 3b 09 09 09 2f | 2f 20 57 69 64 74 68 20 |dth;.../|/ Width |
|00000bd0| 6f 66 20 53 70 72 69 74 | 65 0d 09 42 6f 6f 6c 65 |of Sprit|e..Boole|
|00000be0| 61 6e 09 09 61 63 74 69 | 76 65 2c 09 09 09 2f 2f |an..acti|ve,...//|
|00000bf0| 20 53 70 72 69 74 65 20 | 69 73 20 41 63 74 69 76 | Sprite |is Activ|
|00000c00| 65 0d 09 09 09 09 75 70 | 64 61 74 65 3b 09 09 09 |e.....up|date;...|
|00000c10| 2f 2f 20 53 70 72 69 74 | 65 20 6e 65 65 64 73 20 |// Sprit|e needs |
|00000c20| 75 70 64 61 74 69 6e 67 | 20 6f 6e 73 63 72 65 65 |updating| onscree|
|00000c30| 6e 0d 09 63 68 61 72 09 | 09 73 61 76 65 4d 61 70 |n..char.|.saveMap|
|00000c40| 5b 31 30 32 34 5d 3b 09 | 2f 2f 20 53 63 72 65 65 |[1024];.|// Scree|
|00000c50| 6e 20 73 61 76 65 20 64 | 61 74 61 0d 7d 20 53 70 |n save d|ata.} Sp|
|00000c60| 72 69 74 65 49 6e 73 74 | 61 6e 63 65 3b 0d 0d 74 |riteInst|ance;..t|
|00000c70| 79 70 65 64 65 66 20 73 | 74 72 75 63 74 20 7b 0d |ypedef s|truct {.|
|00000c80| 09 73 68 6f 72 74 09 74 | 79 70 65 3b 0d 09 73 68 |.short.t|ype;..sh|
|00000c90| 6f 72 74 09 66 69 72 73 | 74 49 63 6f 6e 49 44 3b |ort.firs|tIconID;|
|00000ca0| 0d 09 73 68 6f 72 74 09 | 6e 62 72 49 63 6f 6e 73 |..short.|nbrIcons|
|00000cb0| 3b 0d 09 76 6f 69 64 09 | 28 2a 6d 6f 76 65 46 75 |;..void.|(*moveFu|
|00000cc0| 6e 63 29 28 72 65 67 69 | 73 74 65 72 20 53 70 72 |nc)(regi|ster Spr|
|00000cd0| 69 74 65 49 6e 73 74 61 | 6e 63 65 20 2a 73 70 29 |iteInsta|nce *sp)|
|00000ce0| 3b 0d 09 76 6f 69 64 09 | 28 2a 65 72 61 73 65 46 |;..void.|(*eraseF|
|00000cf0| 75 6e 63 29 28 72 65 67 | 69 73 74 65 72 20 53 70 |unc)(reg|ister Sp|
|00000d00| 72 69 74 65 49 6e 73 74 | 61 6e 63 65 20 2a 73 70 |riteInst|ance *sp|
|00000d10| 29 3b 0d 09 76 6f 69 64 | 09 28 2a 64 72 61 77 46 |);..void|.(*drawF|
|00000d20| 75 6e 63 29 28 72 65 67 | 69 73 74 65 72 20 53 70 |unc)(reg|ister Sp|
|00000d30| 72 69 74 65 49 6e 73 74 | 61 6e 63 65 20 2a 73 70 |riteInst|ance *sp|
|00000d40| 29 3b 0d 09 50 74 72 09 | 09 63 6f 6c 6f 72 4d 61 |);..Ptr.|.colorMa|
|00000d50| 70 73 3b 0d 09 50 74 72 | 09 09 6d 61 73 6b 4d 61 |ps;..Ptr|..maskMa|
|00000d60| 70 73 3b 0d 7d 20 53 70 | 72 69 74 65 44 65 66 3b |ps;.} Sp|riteDef;|
|00000d70| 0d 0d 74 79 70 65 64 65 | 66 20 73 74 72 75 63 74 |..typede|f struct|
|00000d80| 20 7b 0d 09 6c 6f 6e 67 | 09 73 63 6f 72 65 3b 0d | {..long|.score;.|
|00000d90| 09 73 68 6f 72 74 09 6c | 65 76 65 6c 3b 0d 09 53 |.short.l|evel;..S|
|00000da0| 74 72 33 31 09 6e 61 6d | 65 3b 0d 7d 20 53 63 6f |tr31.nam|e;.} Sco|
|00000db0| 72 65 52 65 63 6f 72 64 | 3b 0d 0d 2f 2a 0d 20 2a |reRecord|;../*. *|
|00000dc0| 20 45 78 74 65 72 6e 20 | 56 61 72 69 61 62 6c 65 | Extern |Variable|
|00000dd0| 73 0d 20 2a 2f 0d 0d 65 | 78 74 65 72 6e 20 73 68 |s. */..e|xtern sh|
|00000de0| 6f 72 74 09 09 67 52 65 | 73 46 69 6c 65 3b 0d 65 |ort..gRe|sFile;.e|
|00000df0| 78 74 65 72 6e 20 47 57 | 6f 72 6c 64 50 74 72 09 |xtern GW|orldPtr.|
|00000e00| 67 4f 66 66 53 63 72 65 | 65 6e 3b 0d 65 78 74 65 |gOffScre|en;.exte|
|00000e10| 72 6e 20 50 69 78 4d 61 | 70 48 61 6e 64 6c 65 09 |rn PixMa|pHandle.|
|00000e20| 67 50 69 78 4d 61 70 3b | 0d 65 78 74 65 72 6e 20 |gPixMap;|.extern |
|00000e30| 73 68 6f 72 74 09 09 67 | 4d 61 78 53 70 72 69 74 |short..g|MaxSprit|
|00000e40| 65 2c 67 53 70 72 69 74 | 65 43 6e 74 2c 67 53 70 |e,gSprit|eCnt,gSp|
|00000e50| 61 72 6b 43 6e 74 2c 67 | 41 73 74 65 72 6f 69 64 |arkCnt,g|Asteroid|
|00000e60| 43 6e 74 2c 67 52 65 6d | 61 69 6e 69 6e 67 53 68 |Cnt,gRem|ainingSh|
|00000e70| 69 70 73 3b 0d 65 78 74 | 65 72 6e 20 73 68 6f 72 |ips;.ext|ern shor|
|00000e80| 74 09 09 67 59 75 6d 6d | 79 43 6e 74 3b 0d 65 78 |t..gYumm|yCnt;.ex|
|00000e90| 74 65 72 6e 20 6c 6f 6e | 67 09 09 09 67 53 63 72 |tern lon|g...gScr|
|00000ea0| 65 65 6e 52 6f 77 42 79 | 74 65 73 2c 67 56 69 64 |eenRowBy|tes,gVid|
|00000eb0| 65 6f 52 6f 77 42 79 74 | 65 73 3b 0d 65 78 74 65 |eoRowByt|es;.exte|
|00000ec0| 72 6e 20 50 74 72 09 09 | 09 67 53 63 72 65 65 6e |rn Ptr..|.gScreen|
|00000ed0| 4d 65 6d 2c 67 56 69 64 | 65 6f 4d 65 6d 3b 0d 65 |Mem,gVid|eoMem;.e|
|00000ee0| 78 74 65 72 6e 20 52 65 | 63 74 09 09 09 67 50 6c |xtern Re|ct...gPl|
|00000ef0| 61 79 52 65 63 74 2c 67 | 4f 66 66 73 63 72 65 65 |ayRect,g|Offscree|
|00000f00| 6e 52 65 63 74 3b 0d 65 | 78 74 65 72 6e 20 6c 6f |nRect;.e|xtern lo|
|00000f10| 6e 67 09 09 09 67 50 6c | 61 79 57 69 64 74 68 2c |ng...gPl|ayWidth,|
|00000f20| 67 50 6c 61 79 48 65 69 | 67 68 74 3b 0d 65 78 74 |gPlayHei|ght;.ext|
|00000f30| 65 72 6e 20 42 6f 6f 6c | 65 61 6e 09 09 67 53 6f |ern Bool|ean..gSo|
|00000f40| 75 6e 64 46 6c 61 67 3b | 0d 65 78 74 65 72 6e 20 |undFlag;|.extern |
|00000f50| 6c 6f 6e 67 09 09 09 67 | 47 61 6d 65 43 6c 6f 63 |long...g|GameCloc|
|00000f60| 6b 54 69 63 6b 73 3b 09 | 09 2f 2f 20 32 30 20 46 |kTicks;.|.// 20 F|
|00000f70| 72 61 6d 65 73 20 70 65 | 72 20 53 65 63 6f 6e 64 |rames pe|r Second|
|00000f80| 0d 65 78 74 65 72 6e 20 | 6c 6f 6e 67 09 09 09 67 |.extern |long...g|
|00000f90| 4c 61 73 74 44 69 73 70 | 54 69 6d 65 3b 0d 65 78 |LastDisp|Time;.ex|
|00000fa0| 74 65 72 6e 20 73 68 6f | 72 74 09 09 67 47 61 6d |tern sho|rt..gGam|
|00000fb0| 65 53 74 61 74 65 2c 67 | 47 61 6d 65 4c 65 76 65 |eState,g|GameLeve|
|00000fc0| 6c 3b 0d 65 78 74 65 72 | 6e 20 6c 6f 6e 67 09 09 |l;.exter|n long..|
|00000fd0| 09 67 47 61 6d 65 53 63 | 6f 72 65 3b 0d 65 78 74 |.gGameSc|ore;.ext|
|00000fe0| 65 72 6e 20 73 68 6f 72 | 74 09 09 67 53 63 6f 72 |ern shor|t..gScor|
|00000ff0| 65 4d 6f 64 65 3b 0d 65 | 78 74 65 72 6e 20 53 70 |eMode;.e|xtern Sp|
|00001000| 72 69 74 65 49 6e 73 74 | 61 6e 63 65 20 2a 73 54 |riteInst|ance *sT|
|00001010| 61 62 6c 65 2c 2a 67 53 | 68 69 70 3b 0d 65 78 74 |able,*gS|hip;.ext|
|00001020| 65 72 6e 20 53 70 72 69 | 74 65 44 65 66 09 73 44 |ern Spri|teDef.sD|
|00001030| 65 66 5b 4e 62 72 53 70 | 72 69 74 65 73 5d 3b 0d |ef[NbrSp|rites];.|
|00001040| 65 78 74 65 72 6e 20 4c | 6f 6e 67 50 6f 69 6e 74 |extern L|ongPoint|
|00001050| 09 76 65 63 54 61 62 6c | 65 5b 4d 61 78 41 6e 67 |.vecTabl|e[MaxAng|
|00001060| 6c 65 73 5d 3b 0d 65 78 | 74 65 72 6e 20 53 63 6f |les];.ex|tern Sco|
|00001070| 72 65 52 65 63 6f 72 64 | 09 73 63 6f 72 65 52 65 |reRecord|.scoreRe|
|00001080| 63 6f 72 64 5b 4d 61 78 | 53 63 6f 72 65 52 65 63 |cord[Max|ScoreRec|
|00001090| 6f 72 64 73 5d 3b 0d 65 | 78 74 65 72 6e 20 50 72 |ords];.e|xtern Pr|
|000010a0| 65 66 73 44 61 74 61 09 | 67 50 72 65 66 73 3b 0d |efsData.|gPrefs;.|
|000010b0| 0d 2f 2a 0d 20 2a 20 46 | 75 6e 63 74 69 6f 6e 20 |./*. * F|unction |
|000010c0| 44 65 63 6c 61 72 61 74 | 69 6f 6e 73 0d 20 2a 2f |Declarat|ions. */|
|000010d0| 0d 0d 2f 2f 20 4c 6f 77 | 20 6c 65 76 65 6c 20 44 |..// Low| level D|
|000010e0| 69 73 70 6c 61 79 0d 76 | 6f 69 64 20 4d 79 43 6f |isplay.v|oid MyCo|
|000010f0| 70 79 42 69 74 73 28 76 | 6f 69 64 29 3b 0d 76 6f |pyBits(v|oid);.vo|
|00001100| 69 64 20 4d 79 43 6f 70 | 79 52 65 63 74 28 72 65 |id MyCop|yRect(re|
|00001110| 67 69 73 74 65 72 20 52 | 65 63 74 20 2a 72 29 3b |gister R|ect *r);|
|00001120| 0d 0d 2f 2f 20 50 69 63 | 74 75 72 65 20 44 69 73 |..// Pic|ture Dis|
|00001130| 70 6c 61 79 0d 76 6f 69 | 64 20 44 69 73 70 6c 61 |play.voi|d Displa|
|00001140| 79 50 69 63 74 75 72 65 | 28 73 68 6f 72 74 20 70 |yPicture|(short p|
|00001150| 69 63 49 44 2c 20 73 68 | 6f 72 74 20 68 4f 66 66 |icID, sh|ort hOff|
|00001160| 73 65 74 2c 20 73 68 6f | 72 74 20 76 4f 66 66 73 |set, sho|rt vOffs|
|00001170| 65 74 29 3b 0d 0d 2f 2f | 20 47 61 6d 65 20 43 6f |et);..//| Game Co|
|00001180| 6e 74 72 6f 6c 0d 76 6f | 69 64 20 49 6e 69 74 69 |ntrol.vo|id Initi|
|00001190| 61 6c 69 7a 65 47 61 6d | 65 28 57 69 6e 64 6f 77 |alizeGam|e(Window|
|000011a0| 50 74 72 20 74 68 65 57 | 69 6e 29 3b 09 09 2f 2f |Ptr theW|in);..//|
|000011b0| 20 31 20 54 69 6d 65 20 | 6f 6e 6c 79 20 69 6e 69 | 1 Time |only ini|
|000011c0| 74 73 0d 76 6f 69 64 20 | 43 6c 65 61 6e 55 70 28 |ts.void |CleanUp(|
|000011d0| 76 6f 69 64 29 3b 09 09 | 09 09 09 09 09 2f 2f 20 |void);..|.....// |
|000011e0| 31 20 54 69 6d 65 20 6f | 6e 6c 79 20 63 6c 65 61 |1 Time o|nly clea|
|000011f0| 6e 75 70 0d 76 6f 69 64 | 20 4d 61 69 6e 47 61 6d |nup.void| MainGam|
|00001200| 65 4c 6f 6f 70 28 57 69 | 6e 64 6f 77 50 74 72 20 |eLoop(Wi|ndowPtr |
|00001210| 74 68 65 57 69 6e 29 3b | 0d 76 6f 69 64 20 53 74 |theWin);|.void St|
|00001220| 61 72 74 75 70 53 63 72 | 65 65 6e 28 76 6f 69 64 |artupScr|een(void|
|00001230| 29 3b 0d 76 6f 69 64 20 | 42 65 67 69 6e 41 74 74 |);.void |BeginAtt|
|00001240| 72 61 63 74 28 76 6f 69 | 64 29 3b 0d 76 6f 69 64 |ract(voi|d);.void|
|00001250| 20 42 65 67 69 6e 47 61 | 6d 65 28 76 6f 69 64 29 | BeginGa|me(void)|
|00001260| 3b 0d 76 6f 69 64 20 45 | 6e 64 47 61 6d 65 28 76 |;.void E|ndGame(v|
|00001270| 6f 69 64 29 3b 0d 76 6f | 69 64 20 49 6e 69 74 4c |oid);.vo|id InitL|
|00001280| 65 76 65 6c 28 76 6f 69 | 64 29 3b 0d 76 6f 69 64 |evel(voi|d);.void|
|00001290| 20 49 6e 69 74 53 74 61 | 74 75 73 44 69 73 70 6c | InitSta|tusDispl|
|000012a0| 61 79 28 76 6f 69 64 29 | 3b 0d 76 6f 69 64 20 53 |ay(void)|;.void S|
|000012b0| 74 61 74 75 73 50 72 69 | 6e 74 66 28 73 68 6f 72 |tatusPri|ntf(shor|
|000012c0| 74 20 78 2c 20 73 68 6f | 72 74 20 79 2c 20 63 68 |t x, sho|rt y, ch|
|000012d0| 61 72 20 2a 74 6d 70 2c | 20 2e 2e 2e 29 3b 0d 76 |ar *tmp,| ...);.v|
|000012e0| 6f 69 64 20 44 72 61 77 | 53 74 61 74 75 73 42 61 |oid Draw|StatusBa|
|000012f0| 72 28 73 68 6f 72 74 20 | 63 75 72 4c 65 76 65 6c |r(short |curLevel|
|00001300| 2c 20 73 68 6f 72 74 20 | 6d 61 78 4c 65 76 65 6c |, short |maxLevel|
|00001310| 29 3b 0d 76 6f 69 64 20 | 41 64 64 53 63 6f 72 65 |);.void |AddScore|
|00001320| 28 73 68 6f 72 74 20 61 | 6d 74 29 3b 0d 0d 2f 2f |(short a|mt);..//|
|00001330| 20 53 70 72 69 74 65 20 | 4d 61 69 6e 74 65 6e 65 | Sprite |Maintene|
|00001340| 6e 63 65 0d 53 70 72 69 | 74 65 49 6e 73 74 61 6e |nce.Spri|teInstan|
|00001350| 63 65 20 2a 4e 65 77 53 | 70 72 69 74 65 28 76 6f |ce *NewS|prite(vo|
|00001360| 69 64 29 3b 0d 76 6f 69 | 64 20 4b 69 6c 6c 53 70 |id);.voi|d KillSp|
|00001370| 72 69 74 65 28 53 70 72 | 69 74 65 49 6e 73 74 61 |rite(Spr|iteInsta|
|00001380| 6e 63 65 20 2a 73 70 29 | 3b 0d 76 6f 69 64 20 4e |nce *sp)|;.void N|
|00001390| 65 77 53 68 69 70 28 76 | 6f 69 64 29 3b 0d 76 6f |ewShip(v|oid);.vo|
|000013a0| 69 64 20 4e 65 77 53 61 | 75 63 65 72 28 76 6f 69 |id NewSa|ucer(voi|
|000013b0| 64 29 3b 0d 76 6f 69 64 | 20 4e 65 77 42 61 72 62 |d);.void| NewBarb|
|000013c0| 65 6c 6c 28 76 6f 69 64 | 29 3b 0d 76 6f 69 64 20 |ell(void|);.void |
|000013d0| 4e 65 77 41 73 74 65 72 | 6f 69 64 28 73 68 6f 72 |NewAster|oid(shor|
|000013e0| 74 20 74 79 70 65 29 3b | 0d 76 6f 69 64 20 4e 65 |t type);|.void Ne|
|000013f0| 77 59 75 6d 6d 79 28 76 | 6f 69 64 29 3b 0d 76 6f |wYummy(v|oid);.vo|
|00001400| 69 64 20 4c 61 75 6e 63 | 68 42 75 6c 6c 65 74 28 |id Launc|hBullet(|
|00001410| 73 68 6f 72 74 20 74 79 | 70 65 2c 20 73 68 6f 72 |short ty|pe, shor|
|00001420| 74 20 78 2c 20 73 68 6f | 72 74 20 79 2c 20 6c 6f |t x, sho|rt y, lo|
|00001430| 6e 67 20 76 78 2c 20 6c | 6f 6e 67 20 76 79 2c 20 |ng vx, l|ong vy, |
|00001440| 73 68 6f 72 74 20 6c 69 | 66 65 53 70 61 6e 2c 20 |short li|feSpan, |
|00001450| 73 68 6f 72 74 20 62 54 | 79 70 65 29 3b 0d 76 6f |short bT|ype);.vo|
|00001460| 69 64 20 4c 61 75 6e 63 | 68 53 70 61 72 6b 28 73 |id Launc|hSpark(s|
|00001470| 68 6f 72 74 20 78 2c 20 | 73 68 6f 72 74 20 79 2c |hort x, |short y,|
|00001480| 20 6c 6f 6e 67 20 76 78 | 2c 20 6c 6f 6e 67 20 76 | long vx|, long v|
|00001490| 79 2c 20 73 68 6f 72 74 | 20 6c 69 66 65 53 70 61 |y, short| lifeSpa|
|000014a0| 6e 2c 20 73 68 6f 72 74 | 20 63 6f 6c 6f 72 29 3b |n, short| color);|
|000014b0| 0d 76 6f 69 64 20 45 78 | 70 6c 6f 64 65 53 70 72 |.void Ex|plodeSpr|
|000014c0| 69 74 65 28 72 65 67 69 | 73 74 65 72 20 53 70 72 |ite(regi|ster Spr|
|000014d0| 69 74 65 49 6e 73 74 61 | 6e 63 65 20 2a 73 70 2c |iteInsta|nce *sp,|
|000014e0| 20 72 65 67 69 73 74 65 | 72 20 73 68 6f 72 74 20 | registe|r short |
|000014f0| 6c 69 66 65 53 70 61 6e | 29 3b 0d 0d 2f 2f 20 55 |lifeSpan|);..// U|
|00001500| 74 69 6c 20 46 75 6e 63 | 73 0d 73 68 6f 72 74 20 |til Func|s.short |
|00001510| 6d 69 6e 28 72 65 67 69 | 73 74 65 72 20 73 68 6f |min(regi|ster sho|
|00001520| 72 74 20 78 2c 20 72 65 | 67 69 73 74 65 72 20 73 |rt x, re|gister s|
|00001530| 68 6f 72 74 20 79 29 3b | 0d 73 68 6f 72 74 20 6d |hort y);|.short m|
|00001540| 61 78 28 72 65 67 69 73 | 74 65 72 20 73 68 6f 72 |ax(regis|ter shor|
|00001550| 74 20 78 2c 20 72 65 67 | 69 73 74 65 72 20 73 68 |t x, reg|ister sh|
|00001560| 6f 72 74 20 79 29 3b 0d | 0d 23 69 66 20 44 45 42 |ort y);.|.#if DEB|
|00001570| 55 47 47 49 4e 47 0d 76 | 6f 69 64 20 4e 65 77 44 |UGGING.v|oid NewD|
|00001580| 65 62 75 67 44 69 73 70 | 6c 61 79 28 76 6f 69 64 |ebugDisp|lay(void|
|00001590| 29 3b 0d 23 65 6e 64 69 | 66 0d 0d 2f 2f 20 53 74 |);.#endi|f..// St|
|000015a0| 61 74 65 20 4d 61 63 68 | 69 6e 65 20 46 75 6e 63 |ate Mach|ine Func|
|000015b0| 74 69 6f 6e 73 0d 76 6f | 69 64 20 53 74 61 6e 64 |tions.vo|id Stand|
|000015c0| 61 72 64 53 70 72 69 74 | 65 45 72 61 73 65 28 72 |ardSprit|eErase(r|
|000015d0| 65 67 69 73 74 65 72 20 | 53 70 72 69 74 65 49 6e |egister |SpriteIn|
|000015e0| 73 74 61 6e 63 65 20 2a | 29 3b 0d 76 6f 69 64 20 |stance *|);.void |
|000015f0| 53 74 61 6e 64 61 72 64 | 53 70 72 69 74 65 4d 6f |Standard|SpriteMo|
|00001600| 76 65 28 72 65 67 69 73 | 74 65 72 20 53 70 72 69 |ve(regis|ter Spri|
|00001610| 74 65 49 6e 73 74 61 6e | 63 65 20 2a 29 3b 0d 76 |teInstan|ce *);.v|
|00001620| 6f 69 64 20 53 74 61 6e | 64 61 72 64 53 70 72 69 |oid Stan|dardSpri|
|00001630| 74 65 44 72 61 77 28 72 | 65 67 69 73 74 65 72 20 |teDraw(r|egister |
|00001640| 53 70 72 69 74 65 49 6e | 73 74 61 6e 63 65 20 2a |SpriteIn|stance *|
|00001650| 29 3b 0d 76 6f 69 64 20 | 42 75 6c 6c 65 74 45 72 |);.void |BulletEr|
|00001660| 61 73 65 28 72 65 67 69 | 73 74 65 72 20 53 70 72 |ase(regi|ster Spr|
|00001670| 69 74 65 49 6e 73 74 61 | 6e 63 65 20 2a 29 3b 0d |iteInsta|nce *);.|
|00001680| 76 6f 69 64 20 42 75 6c | 6c 65 74 4d 6f 76 65 28 |void Bul|letMove(|
|00001690| 72 65 67 69 73 74 65 72 | 20 53 70 72 69 74 65 49 |register| SpriteI|
|000016a0| 6e 73 74 61 6e 63 65 20 | 2a 29 3b 0d 76 6f 69 64 |nstance |*);.void|
|000016b0| 20 42 75 6c 6c 65 74 44 | 72 61 77 28 72 65 67 69 | BulletD|raw(regi|
|000016c0| 73 74 65 72 20 53 70 72 | 69 74 65 49 6e 73 74 61 |ster Spr|iteInsta|
|000016d0| 6e 63 65 20 2a 29 3b 0d | 76 6f 69 64 20 50 68 6f |nce *);.|void Pho|
|000016e0| 74 6f 6e 44 72 61 77 28 | 72 65 67 69 73 74 65 72 |tonDraw(|register|
|000016f0| 20 53 70 72 69 74 65 49 | 6e 73 74 61 6e 63 65 20 | SpriteI|nstance |
|00001700| 2a 29 3b 0d 76 6f 69 64 | 20 53 61 75 63 65 72 4d |*);.void| SaucerM|
|00001710| 6f 76 65 28 72 65 67 69 | 73 74 65 72 20 53 70 72 |ove(regi|ster Spr|
|00001720| 69 74 65 49 6e 73 74 61 | 6e 63 65 20 2a 29 3b 0d |iteInsta|nce *);.|
|00001730| 76 6f 69 64 20 42 61 72 | 62 65 6c 6c 4d 6f 76 65 |void Bar|bellMove|
|00001740| 28 72 65 67 69 73 74 65 | 72 20 53 70 72 69 74 65 |(registe|r Sprite|
|00001750| 49 6e 73 74 61 6e 63 65 | 20 2a 29 3b 0d 76 6f 69 |Instance| *);.voi|
|00001760| 64 20 59 75 6d 6d 79 4d | 6f 76 65 28 72 65 67 69 |d YummyM|ove(regi|
|00001770| 73 74 65 72 20 53 70 72 | 69 74 65 49 6e 73 74 61 |ster Spr|iteInsta|
|00001780| 6e 63 65 20 2a 73 70 29 | 3b 0d 76 6f 69 64 20 53 |nce *sp)|;.void S|
|00001790| 68 69 70 4d 6f 76 65 28 | 72 65 67 69 73 74 65 72 |hipMove(|register|
|000017a0| 20 53 70 72 69 74 65 49 | 6e 73 74 61 6e 63 65 20 | SpriteI|nstance |
|000017b0| 2a 29 3b 0d 76 6f 69 64 | 20 53 70 61 72 6b 45 72 |*);.void| SparkEr|
|000017c0| 61 73 65 28 72 65 67 69 | 73 74 65 72 20 53 70 72 |ase(regi|ster Spr|
|000017d0| 69 74 65 49 6e 73 74 61 | 6e 63 65 20 2a 29 3b 0d |iteInsta|nce *);.|
|000017e0| 76 6f 69 64 20 53 70 61 | 72 6b 4d 6f 76 65 28 72 |void Spa|rkMove(r|
|000017f0| 65 67 69 73 74 65 72 20 | 53 70 72 69 74 65 49 6e |egister |SpriteIn|
|00001800| 73 74 61 6e 63 65 20 2a | 29 3b 0d 76 6f 69 64 20 |stance *|);.void |
|00001810| 53 70 61 72 6b 44 72 61 | 77 28 72 65 67 69 73 74 |SparkDra|w(regist|
|00001820| 65 72 20 53 70 72 69 74 | 65 49 6e 73 74 61 6e 63 |er Sprit|eInstanc|
|00001830| 65 20 2a 29 3b 0d 76 6f | 69 64 20 4e 65 77 53 68 |e *);.vo|id NewSh|
|00001840| 69 70 54 69 6d 65 72 28 | 72 65 67 69 73 74 65 72 |ipTimer(|register|
|00001850| 20 53 70 72 69 74 65 49 | 6e 73 74 61 6e 63 65 20 | SpriteI|nstance |
|00001860| 2a 29 3b 0d 76 6f 69 64 | 20 4e 75 6c 6c 46 75 6e |*);.void| NullFun|
|00001870| 63 28 72 65 67 69 73 74 | 65 72 20 53 70 72 69 74 |c(regist|er Sprit|
|00001880| 65 49 6e 73 74 61 6e 63 | 65 20 2a 29 3b 0d 76 6f |eInstanc|e *);.vo|
|00001890| 69 64 20 53 74 61 74 75 | 73 44 72 61 77 28 72 65 |id Statu|sDraw(re|
|000018a0| 67 69 73 74 65 72 20 53 | 70 72 69 74 65 49 6e 73 |gister S|priteIns|
|000018b0| 74 61 6e 63 65 20 2a 29 | 3b 0d 76 6f 69 64 20 51 |tance *)|;.void Q|
|000018c0| 75 61 6b 65 4d 6f 76 65 | 28 72 65 67 69 73 74 65 |uakeMove|(registe|
|000018d0| 72 20 53 70 72 69 74 65 | 49 6e 73 74 61 6e 63 65 |r Sprite|Instance|
|000018e0| 20 2a 29 3b 0d 0d 23 69 | 66 20 44 45 42 55 47 47 | *);..#i|f DEBUGG|
|000018f0| 49 4e 47 0d 76 6f 69 64 | 20 53 70 72 69 74 65 43 |ING.void| SpriteC|
|00001900| 6e 74 4d 6f 76 65 28 72 | 65 67 69 73 74 65 72 20 |ntMove(r|egister |
|00001910| 53 70 72 69 74 65 49 6e | 73 74 61 6e 63 65 20 2a |SpriteIn|stance *|
|00001920| 29 3b 0d 76 6f 69 64 20 | 4d 61 78 53 70 72 69 74 |);.void |MaxSprit|
|00001930| 65 4d 6f 76 65 28 72 65 | 67 69 73 74 65 72 20 53 |eMove(re|gister S|
|00001940| 70 72 69 74 65 49 6e 73 | 74 61 6e 63 65 20 2a 29 |priteIns|tance *)|
|00001950| 3b 0d 23 65 6e 64 69 66 | 0d 0d 0d 2f 2a 0d 20 2a |;.#endif|.../*. *|
|00001960| 20 47 61 6d 65 20 54 61 | 62 6c 65 73 0d 20 2a 2f | Game Ta|bles. */|
|00001970| 0d 20 0d 23 69 66 20 53 | 50 52 49 54 45 4d 41 49 |. .#if S|PRITEMAI|
|00001980| 4e 0d 0d 2f 2f 20 4e 6f | 74 65 3a 20 49 27 6d 20 |N..// No|te: I'm |
|00001990| 75 73 69 6e 67 20 66 69 | 78 65 64 20 70 6f 69 6e |using fi|xed poin|
|000019a0| 74 20 61 72 69 74 68 6d | 65 74 69 63 20 68 65 72 |t arithm|etic her|
|000019b0| 65 20 2d 20 74 68 65 20 | 75 70 70 65 72 20 77 6f |e - the |upper wo|
|000019c0| 72 64 20 69 73 20 75 73 | 65 64 20 66 6f 72 0d 2f |rd is us|ed for./|
|000019d0| 2f 20 73 63 72 65 65 6e | 20 63 6f 6f 72 64 73 0d |/ screen| coords.|
|000019e0| 0d 4c 6f 6e 67 50 6f 69 | 6e 74 09 76 65 63 54 61 |.LongPoi|nt.vecTa|
|000019f0| 62 6c 65 5b 4d 61 78 41 | 6e 67 6c 65 73 5d 20 3d |ble[MaxA|ngles] =|
|00001a00| 20 7b 0d 09 30 4c 2c 09 | 09 09 2d 36 35 35 33 36 | {..0L,.|..-65536|
|00001a10| 4c 2c 0d 09 32 35 30 38 | 30 4c 2c 09 09 2d 36 30 |L,..2508|0L,..-60|
|00001a20| 35 34 37 4c 2c 0d 09 34 | 36 33 34 31 4c 2c 09 09 |547L,..4|6341L,..|
|00001a30| 2d 34 36 33 34 31 4c 2c | 0d 09 36 30 35 34 37 4c |-46341L,|..60547L|
|00001a40| 2c 09 09 2d 32 35 30 38 | 30 4c 2c 0d 09 36 35 35 |,..-2508|0L,..655|
|00001a50| 33 36 4c 2c 09 09 30 4c | 2c 0d 09 36 30 35 34 37 |36L,..0L|,..60547|
|00001a60| 4c 2c 09 09 32 35 30 38 | 30 4c 2c 0d 09 34 36 33 |L,..2508|0L,..463|
|00001a70| 34 31 4c 2c 09 09 34 36 | 33 34 31 4c 2c 0d 09 32 |41L,..46|341L,..2|
|00001a80| 35 30 38 30 4c 2c 09 09 | 36 30 35 34 37 4c 2c 0d |5080L,..|60547L,.|
|00001a90| 09 30 4c 2c 09 09 09 36 | 35 35 33 36 4c 2c 0d 09 |.0L,...6|5536L,..|
|00001aa0| 2d 32 35 30 38 30 4c 2c | 09 36 30 35 34 37 4c 2c |-25080L,|.60547L,|
|00001ab0| 0d 09 2d 34 36 33 34 31 | 4c 2c 09 34 36 33 34 31 |..-46341|L,.46341|
|00001ac0| 4c 2c 0d 09 2d 36 30 35 | 34 37 4c 2c 09 32 35 30 |L,..-605|47L,.250|
|00001ad0| 38 30 4c 2c 0d 09 2d 36 | 35 35 33 36 4c 2c 09 30 |80L,..-6|5536L,.0|
|00001ae0| 4c 2c 0d 09 2d 36 30 35 | 34 37 4c 2c 09 2d 32 35 |L,..-605|47L,.-25|
|00001af0| 30 38 30 4c 2c 0d 09 2d | 34 36 33 34 31 4c 2c 09 |080L,..-|46341L,.|
|00001b00| 2d 34 36 33 34 31 4c 2c | 0d 09 2d 32 35 30 38 30 |-46341L,|..-25080|
|00001b10| 4c 2c 09 2d 36 30 35 34 | 37 4c 7d 3b 0d 0d 2f 2f |L,.-6054|7L};..//|
|00001b20| 20 53 74 61 74 65 20 4d | 61 63 68 69 6e 65 73 0d | State M|achines.|
|00001b30| 53 70 72 69 74 65 44 65 | 66 20 73 44 65 66 5b 4e |SpriteDe|f sDef[N|
|00001b40| 62 72 53 70 72 69 74 65 | 73 5d 20 3d 20 7b 0d 09 |brSprite|s] = {..|
|00001b50| 7b 53 54 5f 57 68 65 65 | 6c 2c 20 09 35 30 30 2c |{ST_Whee|l, .500,|
|00001b60| 20 31 32 2c 09 53 74 61 | 6e 64 61 72 64 53 70 72 | 12,.Sta|ndardSpr|
|00001b70| 69 74 65 4d 6f 76 65 2c | 20 53 74 61 6e 64 61 72 |iteMove,| Standar|
|00001b80| 64 53 70 72 69 74 65 45 | 72 61 73 65 2c 20 53 74 |dSpriteE|rase, St|
|00001b90| 61 6e 64 61 72 64 53 70 | 72 69 74 65 44 72 61 77 |andardSp|riteDraw|
|00001ba0| 7d 2c 0d 09 7b 53 54 5f | 41 73 74 65 72 2c 20 20 |},..{ST_|Aster, |
|00001bb0| 37 30 30 2c 20 31 32 2c | 09 53 74 61 6e 64 61 72 |700, 12,|.Standar|
|00001bc0| 64 53 70 72 69 74 65 4d | 6f 76 65 2c 20 53 74 61 |dSpriteM|ove, Sta|
|00001bd0| 6e 64 61 72 64 53 70 72 | 69 74 65 45 72 61 73 65 |ndardSpr|iteErase|
|00001be0| 2c 20 53 74 61 6e 64 61 | 72 64 53 70 72 69 74 65 |, Standa|rdSprite|
|00001bf0| 44 72 61 77 7d 2c 0d 09 | 7b 53 54 5f 54 65 61 63 |Draw},..|{ST_Teac|
|00001c00| 75 70 2c 20 36 30 30 2c | 20 31 32 2c 09 53 74 61 |up, 600,| 12,.Sta|
|00001c10| 6e 64 61 72 64 53 70 72 | 69 74 65 4d 6f 76 65 2c |ndardSpr|iteMove,|
|00001c20| 20 53 74 61 6e 64 61 72 | 64 53 70 72 69 74 65 45 | Standar|dSpriteE|
|00001c30| 72 61 73 65 2c 20 53 74 | 61 6e 64 61 72 64 53 70 |rase, St|andardSp|
|00001c40| 72 69 74 65 44 72 61 77 | 7d 2c 0d 09 7b 53 54 5f |riteDraw|},..{ST_|
|00001c50| 57 68 65 65 6c 52 2c 20 | 31 38 32 2c 20 31 32 2c |WheelR, |182, 12,|
|00001c60| 09 53 74 61 6e 64 61 72 | 64 53 70 72 69 74 65 4d |.Standar|dSpriteM|
|00001c70| 6f 76 65 2c 20 53 74 61 | 6e 64 61 72 64 53 70 72 |ove, Sta|ndardSpr|
|00001c80| 69 74 65 45 72 61 73 65 | 2c 20 53 74 61 6e 64 61 |iteErase|, Standa|
|00001c90| 72 64 53 70 72 69 74 65 | 44 72 61 77 7d 2c 0d 09 |rdSprite|Draw},..|
|00001ca0| 7b 53 54 5f 57 68 65 65 | 6c 47 2c 20 31 39 34 2c |{ST_Whee|lG, 194,|
|00001cb0| 20 31 32 2c 09 53 74 61 | 6e 64 61 72 64 53 70 72 | 12,.Sta|ndardSpr|
|00001cc0| 69 74 65 4d 6f 76 65 2c | 20 53 74 61 6e 64 61 72 |iteMove,| Standar|
|00001cd0| 64 53 70 72 69 74 65 45 | 72 61 73 65 2c 20 53 74 |dSpriteE|rase, St|
|00001ce0| 61 6e 64 61 72 64 53 70 | 72 69 74 65 44 72 61 77 |andardSp|riteDraw|
|00001cf0| 7d 2c 0d 09 7b 53 54 5f | 57 68 65 65 6c 42 2c 20 |},..{ST_|WheelB, |
|00001d00| 32 30 36 2c 20 31 32 2c | 09 53 74 61 6e 64 61 72 |206, 12,|.Standar|
|00001d10| 64 53 70 72 69 74 65 4d | 6f 76 65 2c 20 53 74 61 |dSpriteM|ove, Sta|
|00001d20| 6e 64 61 72 64 53 70 72 | 69 74 65 45 72 61 73 65 |ndardSpr|iteErase|
|00001d30| 2c 20 53 74 61 6e 64 61 | 72 64 53 70 72 69 74 65 |, Standa|rdSprite|
|00001d40| 44 72 61 77 7d 2c 0d 09 | 7b 53 54 5f 41 73 74 65 |Draw},..|{ST_Aste|
|00001d50| 72 31 2c 20 32 31 38 2c | 20 31 32 2c 09 53 74 61 |r1, 218,| 12,.Sta|
|00001d60| 6e 64 61 72 64 53 70 72 | 69 74 65 4d 6f 76 65 2c |ndardSpr|iteMove,|
|00001d70| 20 53 74 61 6e 64 61 72 | 64 53 70 72 69 74 65 45 | Standar|dSpriteE|
|00001d80| 72 61 73 65 2c 20 53 74 | 61 6e 64 61 72 64 53 70 |rase, St|andardSp|
|00001d90| 72 69 74 65 44 72 61 77 | 7d 2c 0d 09 7b 53 54 5f |riteDraw|},..{ST_|
|00001da0| 41 73 74 65 72 32 2c 20 | 32 33 30 2c 20 31 32 2c |Aster2, |230, 12,|
|00001db0| 09 53 74 61 6e 64 61 72 | 64 53 70 72 69 74 65 4d |.Standar|dSpriteM|
|00001dc0| 6f 76 65 2c 20 53 74 61 | 6e 64 61 72 64 53 70 72 |ove, Sta|ndardSpr|
|00001dd0| 69 74 65 45 72 61 73 65 | 2c 20 53 74 61 6e 64 61 |iteErase|, Standa|
|00001de0| 72 64 53 70 72 69 74 65 | 44 72 61 77 7d 2c 0d 09 |rdSprite|Draw},..|
|00001df0| 7b 53 54 5f 53 61 75 63 | 65 72 2c 20 31 36 34 2c |{ST_Sauc|er, 164,|
|00001e00| 20 31 38 2c 09 53 61 75 | 63 65 72 4d 6f 76 65 2c | 18,.Sau|cerMove,|
|00001e10| 09 09 09 53 74 61 6e 64 | 61 72 64 53 70 72 69 74 |...Stand|ardSprit|
|00001e20| 65 45 72 61 73 65 2c 20 | 53 74 61 6e 64 61 72 64 |eErase, |Standard|
|00001e30| 53 70 72 69 74 65 44 72 | 61 77 7d 2c 0d 09 7b 53 |SpriteDr|aw},..{S|
|00001e40| 54 5f 42 61 72 62 65 6c | 6c 2c 34 30 30 30 2c 31 |T_Barbel|l,4000,1|
|00001e50| 32 2c 09 42 61 72 62 65 | 6c 6c 4d 6f 76 65 2c 09 |2,.Barbe|llMove,.|
|00001e60| 09 53 74 61 6e 64 61 72 | 64 53 70 72 69 74 65 45 |.Standar|dSpriteE|
|00001e70| 72 61 73 65 2c 20 53 74 | 61 6e 64 61 72 64 53 70 |rase, St|andardSp|
|00001e80| 72 69 74 65 44 72 61 77 | 7d 2c 0d 09 7b 53 54 5f |riteDraw|},..{ST_|
|00001e90| 54 65 61 70 6f 74 2c 20 | 32 30 30 30 2c 31 36 2c |Teapot, |2000,16,|
|00001ea0| 20 20 20 20 53 68 69 70 | 4d 6f 76 65 2c 20 09 09 | Ship|Move, ..|
|00001eb0| 09 53 74 61 6e 64 61 72 | 64 53 70 72 69 74 65 45 |.Standar|dSpriteE|
|00001ec0| 72 61 73 65 2c 20 53 74 | 61 6e 64 61 72 64 53 70 |rase, St|andardSp|
|00001ed0| 72 69 74 65 44 72 61 77 | 7d 2c 0d 09 7b 53 54 5f |riteDraw|},..{ST_|
|00001ee0| 54 65 61 70 6f 74 54 2c | 32 31 30 30 2c 31 36 2c |TeapotT,|2100,16,|
|00001ef0| 20 20 20 20 53 68 69 70 | 4d 6f 76 65 2c 20 09 09 | Ship|Move, ..|
|00001f00| 09 53 74 61 6e 64 61 72 | 64 53 70 72 69 74 65 45 |.Standar|dSpriteE|
|00001f10| 72 61 73 65 2c 20 53 74 | 61 6e 64 61 72 64 53 70 |rase, St|andardSp|
|00001f20| 72 69 74 65 44 72 61 77 | 7d 2c 0d 09 7b 53 54 5f |riteDraw|},..{ST_|
|00001f30| 54 65 61 70 6f 74 53 2c | 32 32 30 30 2c 31 36 2c |TeapotS,|2200,16,|
|00001f40| 20 20 20 20 53 68 69 70 | 4d 6f 76 65 2c 20 09 09 | Ship|Move, ..|
|00001f50| 09 53 74 61 6e 64 61 72 | 64 53 70 72 69 74 65 45 |.Standar|dSpriteE|
|00001f60| 72 61 73 65 2c 20 53 74 | 61 6e 64 61 72 64 53 70 |rase, St|andardSp|
|00001f70| 72 69 74 65 44 72 61 77 | 7d 2c 0d 09 7b 53 54 5f |riteDraw|},..{ST_|
|00001f80| 54 65 61 70 6f 74 4e 65 | 77 2c 20 30 2c 20 30 2c |TeapotNe|w, 0, 0,|
|00001f90| 09 4e 65 77 53 68 69 70 | 54 69 6d 65 72 2c 09 09 |.NewShip|Timer,..|
|00001fa0| 4e 75 6c 6c 46 75 6e 63 | 2c 09 09 09 20 4e 75 6c |NullFunc|,... Nul|
|00001fb0| 6c 46 75 6e 63 7d 2c 0d | 09 7b 53 54 5f 59 75 6d |lFunc},.|.{ST_Yum|
|00001fc0| 6d 69 65 73 2c 33 30 30 | 30 2c 20 4e 62 72 59 75 |mies,300|0, NbrYu|
|00001fd0| 6d 6d 69 65 73 2c 09 59 | 75 6d 6d 79 4d 6f 76 65 |mmies,.Y|ummyMove|
|00001fe0| 2c 09 4e 75 6c 6c 46 75 | 6e 63 2c 20 09 09 09 20 |,.NullFu|nc, ... |
|00001ff0| 4e 75 6c 6c 46 75 6e 63 | 7d 2c 0d 09 7b 53 54 5f |NullFunc|},..{ST_|
|00002000| 42 75 6c 6c 65 74 2c 09 | 30 2c 09 20 20 30 2c 09 |Bullet,.|0,. 0,.|
|00002010| 42 75 6c 6c 65 74 4d 6f | 76 65 2c 09 09 09 42 75 |BulletMo|ve,...Bu|
|00002020| 6c 6c 65 74 45 72 61 73 | 65 2c 09 09 20 42 75 6c |lletEras|e,.. Bul|
|00002030| 6c 65 74 44 72 61 77 7d | 2c 0d 09 7b 53 54 5f 50 |letDraw}|,..{ST_P|
|00002040| 68 6f 74 6f 6e 2c 09 30 | 2c 09 20 20 30 2c 09 42 |hoton,.0|,. 0,.B|
|00002050| 75 6c 6c 65 74 4d 6f 76 | 65 2c 09 09 09 42 75 6c |ulletMov|e,...Bul|
|00002060| 6c 65 74 45 72 61 73 65 | 2c 09 09 20 50 68 6f 74 |letErase|,.. Phot|
|00002070| 6f 6e 44 72 61 77 7d 2c | 0d 09 7b 53 54 5f 53 70 |onDraw},|..{ST_Sp|
|00002080| 61 72 6b 2c 09 30 2c 09 | 20 20 30 2c 09 53 70 61 |ark,.0,.| 0,.Spa|
|00002090| 72 6b 4d 6f 76 65 2c 09 | 09 09 53 70 61 72 6b 45 |rkMove,.|..SparkE|
|000020a0| 72 61 73 65 2c 09 09 09 | 20 53 70 61 72 6b 44 72 |rase,...| SparkDr|
|000020b0| 61 77 7d 2c 0d 09 7b 53 | 54 5f 53 74 61 74 75 73 |aw},..{S|T_Status|
|000020c0| 44 69 73 70 6c 61 79 2c | 20 30 2c 30 2c 20 4e 75 |Display,| 0,0, Nu|
|000020d0| 6c 6c 46 75 6e 63 2c 09 | 20 20 20 20 09 4e 75 6c |llFunc,.| .Nul|
|000020e0| 6c 46 75 6e 63 2c 09 09 | 09 20 53 74 61 74 75 73 |lFunc,..|. Status|
|000020f0| 44 72 61 77 7d 2c 0d 23 | 69 66 20 44 45 42 55 47 |Draw},.#|if DEBUG|
|00002100| 47 49 4e 47 0d 09 7b 53 | 54 5f 53 70 72 69 74 65 |GING..{S|T_Sprite|
|00002110| 43 6e 74 2c 20 30 2c 20 | 30 2c 09 53 70 72 69 74 |Cnt, 0, |0,.Sprit|
|00002120| 65 43 6e 74 4d 6f 76 65 | 2c 09 09 42 75 6c 6c 65 |eCntMove|,..Bulle|
|00002130| 74 45 72 61 73 65 2c 09 | 09 20 50 68 6f 74 6f 6e |tErase,.|. Photon|
|00002140| 44 72 61 77 7d 2c 0d 09 | 7b 53 54 5f 4d 61 78 53 |Draw},..|{ST_MaxS|
|00002150| 70 72 69 74 65 2c 20 30 | 2c 20 30 2c 09 4d 61 78 |prite, 0|, 0,.Max|
|00002160| 53 70 72 69 74 65 4d 6f | 76 65 2c 09 09 42 75 6c |SpriteMo|ve,..Bul|
|00002170| 6c 65 74 45 72 61 73 65 | 2c 09 09 20 50 68 6f 74 |letErase|,.. Phot|
|00002180| 6f 6e 44 72 61 77 7d 2c | 0d 23 65 6e 64 69 66 0d |onDraw},|.#endif.|
|00002190| 09 7d 3b 0d 0d 23 65 6e | 64 69 66 0d 0d 2f 2a 20 |.};..#en|dif../* |
|000021a0| 45 6e 64 20 6f 66 20 53 | 70 72 69 74 65 73 2e 68 |End of S|prites.h|
|000021b0| 20 2a 2f 00 00 00 00 00 | 00 00 00 00 00 00 00 00 | */.....|........|
|000021c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002200| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 46 |.......L|...L...F|
|00002210| 00 00 00 00 00 01 0c 01 | 00 01 00 01 00 03 02 00 |........|........|
|00002220| 00 00 00 00 00 01 06 01 | 00 01 00 01 00 00 00 00 |........|........|
|00002230| 09 53 70 72 69 74 65 73 | 2e 68 02 00 00 00 54 45 |.Sprites|.h....TE|
|00002240| 58 54 4b 41 48 4c 01 00 | ff ff ff ff 00 00 00 00 |XTKAHL..|........|
|00002250| 00 00 54 45 58 54 4b 41 | 48 4c 01 00 ff ff ff ff |..TEXTKA|HL......|
|00002260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002270| 00 00 a8 04 1e 7c 00 00 | 21 33 00 00 01 92 79 f0 |.....|..|!3....y.|
|00002280| 62 f0 62 68 64 73 6b f0 | 65 f0 65 66 61 63 74 f0 |b.bhdsk.|e.efact.|
|00002290| 61 f0 78 66 61 65 78 f0 | 61 f0 7b 66 61 70 66 f0 |a.xfaex.|a.{fapf.|
|000022a0| 61 f0 7a 66 61 70 6e f0 | 61 f0 79 66 61 73 74 f0 |a.zfapn.|a.yfast.|
|000022b0| 61 f0 73 66 61 61 6d f0 | 61 f0 72 66 61 73 79 f0 |a.sfaam.|a.rfasy.|
|000022c0| 61 f0 71 74 72 73 68 f0 | 67 f0 67 66 61 73 68 f0 |a.qtrsh.|g.gfash.|
|000022d0| 61 f0 76 66 61 64 72 f0 | 61 f0 75 66 61 65 74 f0 |a.vfadr.|a.ufaet.|
|000022e0| 61 f0 74 66 61 6d 6e f0 | 61 f0 77 61 64 72 70 f0 |a.tfamn.|a.wadrp.|
|000022f0| 64 f0 64 64 72 6f 70 f0 | 64 f0 64 00 00 00 00 00 |d.ddrop.|d.d.....|
|00002300| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00002310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002320| 00 00 00 00 00 00 00 06 | 00 04 00 67 00 25 01 6d |........|...g.%.m|
|00002330| 02 6a 00 67 00 25 01 6d | 02 6a a8 10 72 64 00 00 |.j.g.%.m|.j..rd..|
|00002340| 09 07 00 00 09 18 00 00 | 08 87 01 00 00 00 01 00 |........|........|
|00002350| 00 00 01 4c 00 00 00 4c | 00 00 00 46 00 57 6c b4 |...L...L|...F.Wl.|
|00002360| 0b 06 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.......2|..MPSR..|
|00002370| 00 0a 03 ed 00 00 00 00 | 00 00 00 57 69 ac 13 43 |........|...Wi..C|
|00002380| 72 65 61 74 65 64 20 62 | 79 20 43 4d 61 73 74 65 |reated b|y CMaste|
|00002390| 72 aa 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |r.......|........|
|000023a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+